<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../static/styles/swiper.css"/>
		<style type="text/css">
			.swiper-container {
			    width: 600px;
			    height: 300px;
			}  
		</style>
	</head>
	<body>
		<div class="swiper-container">
		    <div class="swiper-wrapper">
		        <div class="swiper-slide">d</div>
		        <div class="swiper-slide">s</div>
		        <div class="swiper-slide">s</div>
		    </div>
		    <!-- 如果需要分页器 -->
		    <div class="swiper-pagination"></div>
		    <!-- 如果需要导航按钮 -->
		    <div class="swiper-button-prev"></div>
		    <div class="swiper-button-next"></div>
		    <!-- 如果需要滚动条 -->
		    <div class="swiper-scrollbar"></div>
		</div>
	</body>
	<script src="../../../dist/static/scripts/swiper.js" type="text/javascript" charset="utf-8"></script>
	<script>        
	  var mySwiper = new Swiper ('.swiper-container', {
	    loop: true, 
		autoplay:true,
	    navigation: {
	      nextEl: '.swiper-button-next',
	      prevEl: '.swiper-button-prev',
	    },
	    
	    // 如果需要滚动条
	    scrollbar: {
	      el: '.swiper-scrollbar',
	    },
	  })        
	  </script>
</html>
